home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / source / snip9503 / weird.c < prev    next >
C/C++ Source or Header  |  1995-03-14  |  287b  |  15 lines

  1. #include<stdio.h>
  2.  
  3. char *c[] = { "ENTER", "NEW", "POINT", "FIRST" };
  4. char **cp[] = { c+3, c+2, c+1, c };
  5. char ***cpp = cp;
  6.  
  7. main()
  8. {
  9.     printf("%s", **++cpp);
  10.     printf("%s ", *--*++cpp+3);
  11.     printf("%s", *cpp[-2]+3);
  12.     printf("%s\n", cpp[-1][-1]+1);
  13.     return 0;
  14. }
  15.